<!-- Table -->
<template>
  <div>
<!-- Form -->
<el-dialog title="创建任务" :visible.sync="dialogFormVisible">
  <el-form :model="form">
    <el-form-item label="试卷编号" :label-width="formLabelWidth">
      <el-input v-model="form.name" auto-complete="off"></el-input>
    </el-form-item>
    <el-form-item label="试卷名称" :label-width="formLabelWidth">
      <el-input v-model="form.name" auto-complete="off"></el-input>
    </el-form-item>
    <el-form-item label="计划期限" :label-width="formLabelWidth">
    <el-date-picker
      v-model="value6"
      type="daterange"
      range-separator="至"
      start-placeholder="开始日期"
      end-placeholder="结束日期">
    </el-date-picker>
    </el-form-item>
    <el-form-item label="选择业务" :label-width="formLabelWidth">
      <el-select v-model="form.region" placeholder="请选择活动区域">
        <el-option label="区域一" value="shanghai"></el-option>
        <el-option label="区域二" value="beijing"></el-option>
      </el-select>
    </el-form-item>
     <el-form-item label="依赖内容" :label-width="formLabelWidth">
   <el-input
  type="textarea"
  :rows="2"
  placeholder="请输入内容"
  v-model="textarea">
</el-input>
 </el-form-item>
  <el-form-item label="任务简介" :label-width="formLabelWidth">
      <el-input
  type="textarea"
  :rows="2"
  placeholder="请输入内容"
  v-model="textarea">
</el-input>
    </el-form-item>
  </el-form>
  <div slot="footer" class="dialog-footer">
    <el-button @click="dialogFormVisible = false">取 消</el-button>
    <el-button type="primary" @click="dialogFormVisible = false">提 交</el-button>
  </div>
</el-dialog>
  </div>
</template>
<script>
  export default {
    data() {
      return {
        dialogFormVisible: false,
        form: {
          name: '',
          region: '',
          date1: '',
          date2: '',
          delivery: false,
          type: [],
          resource: '',
          desc: ''
        },
        formLabelWidth: '120px',
        value6:'' ,
        radio: '1',
        checked:true,
        textarea:''
      };
    },
     methods: {
            show() {
              this.dialogFormVisible=true;
            },
          }
  };
</script>